cmake_minimum_required(VERSION 3.5.1)  


# 当前目录
file(GLOB ALL_SOURCE "*.cpp" "*.c")
file(GLOB ALL_HEAD "*.hpp" "*.h")


# 当前目录和子目录
# file(GLOB_RECURSE ALL_SOURCE "*.cpp" "*.c")
# file(GLOB_RECURSE ALL_HEAD "*.hpp" "*.h")

add_library(_wasApp  STATIC ${ALL_SOURCE})  # 将他们编译为一个叫 lib_wasApp.a 的文件




